<!--by Nicole-->


<div class="menu_bar">
    <div class="menu_item"  style="z-index: 10">
        <div class="menu_title"><iframe name="weather_inc" src="http://i.tianqi.com/index.php?c=code&id=5" width="200" height="25" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" ></iframe></div>
        <div class="sub_menu">
            <div><iframe name="weather_inc" src="http://i.tianqi.com/index.php?c=code&id=2" width="770" height="70" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe></div>
        </div>
    </div>
    <div class="menu_item"  style="z-index: 10">
        <div class="menu_title">网站导航
            <div class="share_nav">
                <!-- JiaThis Button BEGIN -->
                <div class="jiathis_style share_style">
                    <a class="jiathis_button_qzone"></a>
                    <a class="jiathis_button_tsina"></a>
                    <a class="jiathis_button_tqq"></a>
                    <a class="jiathis_button_weixin"></a>
                    <a class="jiathis_button_renren"></a>
                    <a href="http://www.jiathis.com/share" class="jiathis jiathis_txt jtico jtico_jiathis" target="_blank"></a>
                    <a class="jiathis_counter_style"></a>
                </div>
                <script type="text/javascript" src="http://v3.jiathis.com/code/jia.js" charset="utf-8"></script>
                <!-- JiaThis Button END -->
            </div>
        </div>
        <div class="sub_menu1">
                <ul class="nav_ul0">
                    <think:nav name="nav">
                        <eq name="nav.pid" value="0">
                            <li class="li_a">
                                <a href="{$nav.url|get_nav_url}"
                                   target="<eq name='nav.target' value='1'>_blank<else/>_self</eq>">{$nav.title}</a>
                            </li>
                        </eq>
                    </think:nav>
                    <li class="li_a"><a href="__APP__/Home/Index/about.html">关于我们</a></li>
                    <li class="li_a"><a href="__APP__/Home/Index/help.html">帮助中心</a></li>
                    <li class="li_a"><a data-toggle="modal" data-target="#tou_advice">投诉建议</a></li>
                    <li class="li_a"><a href="__APP__/Home/Index/recruit.html">招聘信息</a></li>
                    <li class="li_a"><a href="__APP__/Home/Index/second.html">二手货车</a></li>
                    <li class="li_a"><a  href="__APP__/Admin/Public/login.html">信息管理中心</a></li>

                    <li class="li_a"><a href="javascript:void(0)" onMouseOut="hideImg()"  onmouseover="showImg()">官网微信</a>
                        <div id="wxImg" class="wechat"><img src="__ROOT__/Uploads{$wechat['url']}" width="120" height="100"/></div>​
                    </li>

                    <li class="li_a"><a href="{$weibo['url']}">微博</a></li>
                </ul>
        </div>
    </div>
    <div class="menu_end"></div>
</div>

<!--advertisement-->
<div class="cur ad"  style="overflow: hidden; width:100%; height: 100px;z-index:2;position:absolute; top: 33px;">
    <volist name="advs" id="adv" offset="0" length="1">
        <a href={$adv['outline']} target="_blank"><img width="100%" height="100" style="width: 100%;height: 100%;" src="__ROOT__/Uploads{$adv['url']}"/></a>
    </volist>
</div>


<!-- 导航条nav
================================================== -->
<nav class="navbar navbar-inverse navbar-fixed-top" style="position: relative;top:30px;padding-bottom: 20px;">
    <div class="" style="background-color: #1b8fe2;">
        <div class="container">
            <button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <div class="nav-collapse collapse">
                <ul class="nav" id="menu">
                    <think:nav name="nav">
                        <eq name="nav.pid" value="0">
                            <li>
                                <a href="{$nav.url|get_nav_url}" target="<eq name='nav.target'
value='1'>_blank<else/>_self</eq>">{$nav.title}</a>
                            </li>

                        </eq>
                    </think:nav>
                    <li>
                        <a data-toggle="modal" data-target="#tou_advice">投诉建议</a>
                    </li>
                    <li>
                        <a href="tencent://message/?uin={$server[0]['qq_number']}&Site=">联系我们</a>
                    </li>
                </ul>
            </div>

        </div>
    </div>
</nav>
<!--nav end-->

<script>
//    window.onload = function() {
//        var oDiv = document.getElementById("tab");
//        var oLi = oDiv.getElementsByTagName("div")[0].getElementsByTagName("li");
//        var aCon = oDiv.getElementsByTagName("div")[1].getElementsByTagName("div");
//        var timer = null;
//        for (var i = 0; i < oLi.length; i++) {
//            oLi[i].index = i;
//            oLi[i].onmouseover = function() {
//                show(this.index);
//            }
//        }
//        function show(a) {
//            index = a;
//            var alpha = 0;
//            for (var j = 0; j < oLi.length; j++) {
//                oLi[j].className = "";
//                aCon[j].className = "";
//                aCon[j].style.opacity = 0;
//                aCon[j].style.filter = "alpha(opacity=0)";
//            }
//            oLi[index].className = "cur";
//            clearInterval(timer);
//            timer = setInterval(function() {
//                        alpha += 2;
//                        alpha > 100 && (alpha = 100);
//                        aCon[index].style.opacity = alpha / 100;
//                        aCon[index].style.filter = "alpha(opacity=" + alpha + ")";
//                        alpha == 100 && clearInterval(timer);
//                    },
//                    5)
//        }
//    }
function  showImg(){
    document.getElementById("wxImg").style.display='block';
}
function hideImg(){
    document.getElementById("wxImg").style.display='none';
}
</script>